Systems and methods for generating symmetric cryptographic keys

ABSTRACT

A system for generating symmetric cryptographic keys for communications between hosts. Hosts use associated devices to generate secret keys. Each key is generated based on a static seed and a dynamic seed. The dynamic seed is created from sensor data or auxiliary data. The secret key allows host machines to encrypt, or decrypt, plaintext messages sent to, or received from, other host machines.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a non-provisional of and claims the benefit of U.S.Provisional Application No. 62/529,715, filed on Jul. 7, 2017, thecontents of which are incorporated herein by reference.

BACKGROUND OF THE INVENTION

Cryptography enables communication of confidential information inuntrusted environments. To ensure confidentiality, information is oftentransmitted in the form of ciphertext, generated with ciphers usingcryptographic keys.

Symmetric-key cryptography is often the preferred method of secretcommunication due to its performance advantages over asymmetric, orpublic-key, cryptography.

A fundamental problem with symmetric-key cryptography is how toinitially generate and establish a key agreed upon between thecommunicators. Typically, asymmetric cryptography is used for thispurpose. However, asymmetric techniques rely on slow and complexoperations, such as arithmetic exponentiation and querying certificateauthorities for public keys. Moreover, asymmetric operations are oftennot quantum resistant, as efficient algorithms exist for quantumcomputers to break asymmetric ciphers like RSA and asymmetric keyexchanges like Diffie-Helman.

Prior-art methods for generating and establishing symmetric keys, whileavoiding asymmetric cryptography, also have significant shortcomings.For example, many techniques exist for generating keys based on the“principle of reciprocity”. These key-generation (keygen) techniquesinvolve two devices sensing the same, or similar, wireless signals, toobtain sensed data. These keygen techniques then use a process calledreconciliation to remove the differences between the signals sensed ondifferent devices, operating in different locations. The reconciledsignals then act as a symmetric key. However, basing keys on only sensedwireless signals creates several problems, including: the techniques arenot always available because certain environmental conditions may limitthe ability of sensors to sense the signals, the techniques may producekeys with insufficient entropy, and the techniques are vulnerable toattackers located near the sending or receiving hosts, who may sensesimilar signals and generate the same key.

Hence, what is needed in the art are systems and methods forautomatically generating and establishing symmetric cryptographic keyswithout basing keys on only sensed wireless signals, and without sendingany data, except for ciphertext, between hosts. By only sendingciphertext data between hosts, the systems and methods avoid certainactive attacks, such as breaking Diffie-Helman key exchanges withman-in-the-middle techniques, as well as certain passive attacks, suchas breaking Diffie-Helman key exchanges by observing the public keyssent between hosts and solving the discrete-log problem, which can besolved efficiently with quantum algorithms.

SUMMARY OF THE INVENTION

Features of a methodology according to embodiments of the presentinvention can (1) establish confidential communication channels bygenerating symmetric-cryptographic keys limited to particular times,geographies, devices, or sets of devices, (2) initially generate asecret key without sending any data between hosts, (3) only transmitciphertexts between hosts, and (4) never store secret keys excepttemporarily, in volatile memory, during the brief window betweengeneration of a key and encryption/decryption.

The methodology described herein has as its applications anycommunications that could benefit from symmetric-key cryptography,including, for example, communications between: (1) mobile phones andcell towers, (2) VOIP (voice over IP), or VPN (virtual private network),clients and servers, (3) IM (instant messaging), or email, clients andservers, (4) smart thermostats, or other devices in the smart-grid, andpower-grid routers, (5) financial institutions (banks, credit unions,brokerage firms, payment devices, etc.), (6) credit cards andcredit-card readers, (7) child monitors (cameras or microphones) andtheir parents' devices, (8) radio transmitters and receivers usingfrequency hopping; the generated keys may determine the channel at whichto operate, (9) Internet-of-things devices, and (10) any other networkeddevices.

Embodiments of the invention include the following components:

-   -   Devices capable of accessing static seeds guaranteeing that:        -   Generated keys do not rely (only) on sensed data,        -   generated keys contain sufficient entropy, and        -   pairs of devices, or sets of devices, can generate keys that            are secret from other devices.    -   Devices also capable of forming dynamic seeds from one or more        sensed signals or auxiliary data.    -   A key-generation (keygen) function that inputs a static seed and        a dynamic seed and outputs a cryptographic key.    -   Protocols for communications between host machines and their        associated devices. These new protocols include processes for        receivers to determine the identities, and agree on the dynamic        seeds, of messages' senders, in order to decrypt their messages.

Six illustrative, high-level communication protocols are describedherein. The first three protocols describe embodiments in which devicesgenerate keys on demand and provide those keys to host machines, so hostmachines can perform encryption and decryption operations. The latterthree protocols describe embodiments in which devices generate keys ondemand but then use those keys to perform encryption and decryptionoperations for the host machines.

In one particular embodiment, the invention provides a system forgenerating symmetric cryptographic keys. The system comprises a firsthost machine and a first device in communication with the first hostmachine. The first device is configured to receive a message from thefirst host machine indicating an intent to communicate with a secondhost machine, generate a secret key based on a static seed and a dynamicseed, the dynamic seed created from sensor data or auxiliary data,encrypt an identifier for the first host machine, or its associateddevice, using the static seed, to generate an encrypted identifiermessage, and transmit the encrypted identifier message and the secretkey to the first host machine to enable the first host machine toencrypt a plaintext message using the secret key and to transmit theencrypted identifier message and the encrypted plaintext message to thesecond host machine.

In another particular embodiment, the invention provides a system forgenerating symmetric cryptographic keys. The system comprises a firsthost machine and a first device in communication with the first hostmachine. The first device is configured to receive a message from thefirst host machine indicating an intent to communicate with a secondhost machine and a plain text message to be encrypted, generate a secretkey based on a static seed and a dynamic seed, the dynamic seed createdfrom sensor data or auxiliary data, encrypt an identifier for the firsthost machine, or its associated device, using the static seed, togenerate an encrypted identifier message, encrypt the plaintext messageusing the secret key, and transmit the encrypted identifier message andthe encrypted plaintext message to the first host machine.

Other aspects of the invention will become apparent by consideration ofthe detailed description and accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a flow diagram for generating symmetric keys. Secretkeys (K_(AB)) depend on a given static seed (S_(AB)) and dynamic seed(D).

FIG. 2 illustrates a first communication protocol.

FIG. 3 illustrates a second communication protocol.

FIG. 4 illustrates a third communication protocol.

FIG. 5 illustrates a fourth communication protocol.

FIG. 6 illustrates a fifth communication protocol.

FIG. 7 illustrates a sixth communication protocol.

DETAILED DESCRIPTION

Before any embodiments of the invention are explained in detail, it isto be understood that the invention is not limited in its application tothe details of construction and the arrangement of components set forthin the following description or illustrated in the following drawings.The invention is capable of other embodiments and of being practiced orof being carried out in various ways.

The invention relates to communication between two or more host machines(“hosts”). Host machines are any devices communicating or attempting orwilling to communicate. Examples of host machines include laptops,personal computers, smartphones, tablet computers, smartwatches, smartapparel, and other Internet-of-things devices. In the descriptions ofembodiments in the present disclosure, when a host is described ascommunicating with another host, it is to be understood that thecommunications can be generalized to communications between additionalhosts, using techniques known in the art, such as making communicationsbroadcast or multicast rather than unicast, or running multipleinstances of the described communication protocols.

In the present disclosure, a host H is described as communicating notonly with other hosts, but also with a “device” that performscryptographic operations for host H. Such a device is said to serve, andbe associated with, that particular host. It is to be understood thatthese “devices” may be separate from, embedded in, or part of, the hostmachines they serve. For example, a device serving host H may plug intoa port, such as a USB port, on host H. Alternatively, a device servinghost H may be embedded into, and share a processor with, host H. Theremay be no physical, or hardware, separation between a host machine andits associated device. A device serving host H may just be a process,thread, procedure, routine, subroutine, function, etc. running on hostH. Devices may also be shared between hosts, and there may be a “deviceservice” for performing the required cryptographic operations formultiple hosts.

In general, embodiments of the invention are related to a system forgenerating symmetric cryptographic keys for communications betweenhosts. Hosts use associated devices to generate secret keys. Each key isgenerated based on a static seed and a dynamic seed. The dynamic seed iscreated from sensor data or auxiliary data. The secret key allows hostmachines to encrypt, or decrypt, plaintext messages sent to, or receivedfrom, other host machines.

Each of the components in the system is next addressed in detail.

Static Seeds

Each device can access a set of static secrets, one secret for eachdevice, or group of devices, in a set of devices. Each of these “staticseeds” is a constant or slowly changing value. Devices may store staticseeds in an electronic memory, such as nonvolatile flash memory or aprotected Trusted Platform Module (TPM) memory segment. Alternatively,devices may not store static seeds in electronic memory, for example bystoring them on tape or not storing them at all. In this latter case, adevice may use a sensor to read the desired static seed whenever needed.For example, a static seed may be encoded as the temperature in aclimate-controlled building. A device need not store this static seed inmemory, for it can always access the desired value by using athermometer to read the temperature.

As an example, suppose a set of devices contains only two devices,called A and B, with Device A serving Host A and Device B serving HostB. Then Device A may have access to two static seeds, one called S_(AB),used for communicating with Device B, and another called S_(AA), usedfor communicating with itself (i.e., for encrypting “data at rest”,which remains on Host A). Device B may also have access to two staticseeds, one being the same S_(AB) accessible to Device A and the otherbeing S_(BB) (where S_(BB) is used for Device B to communicate withitself, i.e., to encrypt data for Host B that will remain on Host B). Adevice capable of communicating with the n−1 other devices in its set ofdevices may have access to n static seeds, each indexed by the ID of thedevice that can access that same static seed.

Static seeds serve several purposes. One purpose of static seeds is toavoid the problems with techniques based on the “principle ofreciprocity”, in which attackers may obtain secret keys by sensing thesame data as the communicators. Another purpose of static seeds is toguarantee that generated keys are based on sufficient entropy, toprevent brute-force attacks in which all possible keys are tried.Regardless of how much entropy exists in dynamic seeds, the static seedscan be made to contribute arbitrary and sufficient entropy to thegenerated key. Static-seed entropy may, for example, be produced with aCryptographically Secure Pseudo-Random Number Generator (CSPRNG) andencoded on devices at time of manufacture. Alternatively, static seedsmay be agreed upon through traditional techniques, including existingkey generation and key-exchange protocols. Static seeds may occasionallybe updated through similar means, for example when devices are added to,or removed from, a set of devices.

Dynamic Seeds

Dynamic seeds are a means for contributing entropy or freshness togenerated keys based on values that change more rapidly than staticseeds but are nonetheless accessible to all the devices participating ina communication. While static seeds are constant, or slowly changing,and therefore may be reused through multiple key generations, dynamicseeds change more quickly, and each key generation is based on a fresh,or refreshed, dynamic seed.

Returning to the example of Devices A and B serving Hosts A and B, whereDevices A and B can both access the same static seed S_(AB), everygeneration of a new symmetric key for communication between Hosts A andB may be based on the same static seed S but different dynamic seeds.That is, if Device A is generating a new key to enable Host A tocommunicate with Host B, Device A may base the new key on (1) the samestatic seed S_(AB) it has used in the past to generate keys forcommunications between Hosts A and B, and (2) a fresh dynamic seed, forexample the current time.

Devices are capable of forming dynamic seeds from one or more sensedsignals or auxiliary data. Examples of sensed signals that may be usedto form a dynamic seed include the current time, a pseudorandom numbersuch as a nonce (which is typically computed based in part on the sensedtime), location, temperature, acceleration, brightness, or ambientnoise. Examples of auxiliary data on which dynamic seeds may dependinclude (1) timestamps encoding times in the past or future, for exampleto encode the time at which another device generated a key in the past,or to encode a time at which a key should expire in the future; (2)geographic ranges, for example to encode the maximum range over which akey should be accessible; or (3) sensor-channel characteristics, forexample to encode a particular channel into which a device must tune itssensors, in order to obtain the correct sensed signals for the dynamicseed. The illustrative communication protocols will further clarify theuse of auxiliary data for generating keys.

As an example of devices using sensed signals to form dynamic seeds,Devices A and B may both be located near each other, on the same floorof a building lacking climate controls. During keygen, Devices A and Bmay sense and use the current temperature as a dynamic seed. Such adynamic seed can only be reliably obtained by devices that (1) are inthe immediate geographic area of Devices A and B, and (2) read thetemperature at about the same time as Devices A and B read thetemperature. Hence, this dynamic seed is geographically and temporallylimited. Temporally, the dynamic seed “expires” when the temperaturechanges, because reading the current temperature is not a perfectlyreliable indicator of past (or future) temperatures. When keys aregenerated based on such geographically and temporally limited dynamicseeds, the keys themselves are geographically and temporally limited.

It should be understood that temperature sensing is only provided as anillustrative example of dynamic-seed agreement between devices. Otherphenomena, natural or artificial, may produce signals that devicesentering communication may read and use as dynamic seeds for the keygenprocess.

Basing secret keys on dynamic seeds serves several purposes, includingprevention of replay attacks (dynamic seeds ensure that generated keyschange) and ensuring forward secrecy of communications (obtaining onesecret key does not leak other secret keys).

Key Generation

FIG. 1 illustrates a flow diagram for generating cryptographic keysbased on static and dynamic seeds. It may be desirable to implement thekeygen function, which receives static seeds and dynamic seeds as inputsand then outputs a secret key, as a cryptographic hash function withhigh avalanche effect, such as SHA-3, to ensure that entirely new keysare generated even when static seeds do not change.

Communication Protocols

Six high-level communication protocols are described herein, toillustrate various embodiments. In the first three protocols presentedin FIGS. 2-4, devices generate keys on demand and provide those keys tohost machines, so host machines can perform encryption and decryptionoperations. In the last three protocols presented in FIGS. 5-7, devicesgenerate keys on demand and perform encryption and decryption operationsfor the host machines.

Encryption and decryption operations described in the illustrativeprotocols may be performed using any known symmetric-key ciphers,including for example AES or one-time pads. It will be understood andappreciated by those skilled in the art of cryptography that the presentinvention enables implementation of one-time pads, as a new secret key(of length equal to the message being transmitted) may be generated foreach message transmitted between hosts. The encryption of a message Musing key K is written {M}_(K).

Additional elements may be added to the protocols shown, to implementadditional features. For example, communications could occur betweenmore than two hosts using techniques known in the art for generalizingtwo-host communications to n-host communications, including using seedsor keys agreed upon, or sensed, by more than two hosts, transmittingmessages in a broadcast or multicast manner, or concurrently runningmultiple instances of the protocols. As another example, additionaltimestamps or nonces may be added to the messages shown in theprotocols, to provide additional protections against replay attacks. Asyet another example, message authentication codes (MACs) may be added tothe messages shown in the protocols, to provide additional guarantees ofauthenticity and integrity. As yet another example, messages may be senton top of existing protocols, such as IP, UDP, TCP, HTTP, TLS, HTTPS,etc.

Conversely, auxiliary data X, seen in FIGS. 2-7, may be removed from theprotocols shown, for those embodiments in which devices participating inthe communication can form dynamic seeds without access to the auxiliarydata. Although the illustrative communication protocols includeauxiliary data, it should be understood that auxiliary data is anoptional element of the communication protocols, included forembodiments in which one or more devices need the auxiliary data to formthe correct dynamic seed.

It should also be understood, in the communication protocols, that“messages” simply represent data flowing between entities. For example,the protocols include a host machine transmitting, to its associateddevice, a message containing a host or device identifier; such messagetransmission represents data flowing from the host to its associateddevice. In some embodiments, such as those in which a device D is aprocess, thread, procedure, routine, subroutine, or function executingon the host H that D serves, a “message” “transmitted” from H to D and“received” by D may not be a message sent over a network or through acommunication port, but instead may be initialization parameters,function arguments, or any other data flow from H to D. The sameprinciple applies to all communications described herein; messagessimply indicate a flow of data. A message transmitted by entity E1 andreceived by entity E2, where each entity may be a host or device,indicates a flow of data from E1 to E2.

Communication Protocol 1

This is an example where Host A is associated with Device A and wants tocommunicate with a Host B that is associated with Device B. FIG. 2summarizes the operation of Communication Protocol 1. Detaileddescriptions of the five communications shown in FIG. 2 follow.

1. Host A sends Device A an identifier B, referring to Host B or itsassociated device, to indicate an intent to communicate with Host B.

2. Device A

(a) obtains static seed S_(AB) and dynamic seed D. The dynamic seed Dmay depend on auxiliary data X unknown and not immediately accessible toDevice B, possibly in addition to signals that Devices A and B cansense. Thus, Device A may identify particular auxiliary data X, such asa fresh timestamp obtained on Device A and therefore unknown and notimmediately accessible to Device B, to use for the currentcommunication's dynamic seed D. As shown in FIG. 2, this auxiliary dataX is carried through the communications in the protocol, ultimatelyarriving at Device B and enabling Device B to use the same data X togenerate its local copy of the same dynamic seed D.

(b) generates a secret key K_(AB) from S_(AB) and D (as shown in FIG.1),

(c) encrypts (A,X) using S_(AB) to obtain its ciphertext output, and

(d) sends this ciphertext output, {A,X}_(S) _(AB) , and K_(AB) to HostA.

3. Host A

(a) obtains its plaintext message M,

(b) encrypts M using K_(AB) to obtain {M}_(K) _(AB) , and

(c) sends {A,X}_(S) _(AB) and {M}_(K) _(AB) to Host B.

4. Host B sends {A,X}_(S) _(AB) to Device B.

5. Device B

(a) finds the static seed S such that decrypting {A,X}_(S) _(AB) withS_(AB) produces a message of the form (A,X),

(b) finds K_(AB) using static seed S_(AB) and the dynamic seed D.Dynamic seed D may be obtained from the auxiliary data X and anyadditional data accessible to, or capable of being sensed by, Device B.Given the static and dynamic seeds, Device B uses the process shown inFIG. 1 to obtain K_(AB).

(c) sends this K_(AB) to Host B.

After these communications, Host B has K_(AB) and can use it to obtainthe plaintext M from the second ciphertext received from Host A (i.e.,{M}_(K) _(AB) ).

If at any point in the protocol, a device or host receives an undefinedinput, including, for example, a reused timestamp in auxiliary data X,then that device or host may signal an error.

Hosts and devices following this protocol may destructively delete keysand keygen data, such as dynamic seeds, immediately after use. Futurecommunications may use freshly generated keys.

Communication Protocol 2

The second example communication protocol, shown in FIG. 3, is avariation of the first protocol shown in FIG. 2. The second protocoladds message authentication codes (MACs) to communications. A MAC ofdata T generated with key K is notated MAC(T)_(K). MACs provide standardbenefits of ensuring authenticity and integrity of messages.

As shown in FIG. 3, the second example communication protocol has DeviceA generating the MAC of (A,X) using secret key K_(AB). This MAC getstransmitted from Device A to Host A, Host A to Host B, and Host B toDevice B, and serves an important additional purpose, beyond thestandard purpose of MACs to provide message authenticity and integrity.The additional purpose is to enable Device B to uniquely determineK_(AB), for those embodiments in which multiple candidate secret keysexist.

More specifically, Device B, after obtaining static seed S_(AB) andusing S_(AB) to decrypt the message received from Host B to obtainauxiliary data X, may find that multiple candidate dynamic seeds Dexist, even for the provided auxiliary data X. For example, due tosignal noise, Device B may not be able to obtain dynamic seed D withcertainty, instead only obtaining a set of candidate dynamic seeds. Insuch a case, Device B can use the MAC(A,X)_(K) _(AB) it obtained bydecrypting the message received from Host B with static seed S_(AB), tofind the correct dynamic seed D. In this case Device B searches thecandidate dynamic seeds to find the unique dynamic seed D such that,when input with static seed S_(AB) into the keygen function (shown inFIG. 1), the output key K_(AB) produces a MAC of (A,X) equal to theMAC(A,X)_(K) _(AB) obtained by decrypting the message from Host B.

Communication Protocol 3

The third example communication protocol, shown in FIG. 4, is anothervariation of the first protocol shown in FIG. 2. The third protocolillustrates Host A determining and sending auxiliary data X to Device A,rather than Device A determining the auxiliary data on its own. Thisvariation illustrated in FIG. 4 is useful for embodiments in which thehost machine, or its user, determines desired characteristics of dynamicseeds (and the resulting secret keys). For example, a user of Host A maywish to establish a secure communication channel based on a key onlyobtainable for the next hour. The one-hour expiration time constitutesauxiliary data X, which Device A may use to determine the dynamic seedon which to base the secret key K_(AB). Device A may, for example, basedynamic seed D on sensed data known to fluctuate little over the nexthour, known to be unpredictable after an hour, and known to be capableof being sensed by Device B (assuming Device B has the sameauxiliary-data parameter X). As another example, auxiliary data X mayencode geographic restrictions on the availability of dynamic seeds (andthe resulting secret keys).

Communication Protocols 4-6

The first three communication protocols, shown in FIGS. 2-4, aredistinguished from the second three communication protocols, shown inFIGS. 5-7, in that devices in the first three protocols never accessplaintext messages M. The devices in the first three communicationprotocols provide a keygen service to hosts, while the devices in thesecond three communication protocols provide a keygen andencryption/decryption service to hosts. The only substantial differencesbetween the protocols shown in FIGS. 2-4, and those shown in FIGS. 5-7,is that the protocols shown in FIGS. 5-7 have Host A also sending DeviceA the plaintext M, which Device A encrypts for Host A, and the converseoperations occur between Host and Device B.

The primary advantage of Protocols 1-3, shown in FIGS. 2-4, overProtocols 4-6, shown in FIGS. 5-7, is that some users may be skepticalthat devices will properly safeguard their plaintexts. Such users may bemore comfortable with devices never having access to plaintexts.However, in cases where devices are embedded into host machines (e.g.,chips inside mobile phones), or are just processes, threads, functions,etc. executing in host machines, the host machines include theassociated devices and must already be trusted (because the hosts couldleak plaintexts even without the embedded, associated devices).Therefore, in such cases, any advantage of Protocols 1-3 over Protocols4-6 is diminished or removed.

The primary advantage of Protocols 4-6 over Protocols 1-3 is that allkeys remain inside, and under the control of, the devices. That is,hosts in Communication Protocols 4-6 never have access to the secret keyK_(AB) (nor other inputs to the keygen function, such as static anddynamic seeds). This extra control of keys in Protocols 4-6 preventshost machines from misusing or performing dangerous operations on seedsor secret keys, such as archiving them or allowing untrusted parties toaccess them.

The system architectures having just been disclosed have severaldesirable properties. The system architectures:

1. Establish confidential communication channels, by generatingsymmetric-cryptographic keys limited to particular times, geographies,devices, or sets of devices. Confidentiality is ensured by onlytransmitting ciphertexts between hosts.

2. Only transmit ciphertexts between hosts. Attackers have no plaintextor public keys to analyze.

3. In some embodiments, initially generate a secret key without sendingany data between hosts. In all the illustrative communication protocols,the message sender (Host A) uses Device A to generate a secret key,without communicating with Host or Device B.

4. In some embodiments, never store secret keys except temporarily, involatile memory, during the brief window between generation of a key andencryption/decryption. In all the illustrative communication protocols,devices and hosts may destructively delete secret keys (and keygen data,such as dynamic seeds) immediately after use.

Various features and advantages of the invention are set forth in thefollowing claims.

What is claimed is:
 1. A system for generating symmetric cryptographickeys, the system comprising: a first host machine; and a first device incommunication with the first host machine, the first device configuredto receive a message from the first host machine indicating an intent tocommunicate with a second host machine, generate a secret key based on astatic seed and a dynamic seed, the dynamic seed created from sensordata or auxiliary data, encrypt an identifier for the first hostmachine, or its associated device, using the static seed, to generate anencrypted identifier message, and transmit the encrypted identifiermessage and the secret key to the first host machine to enable the firsthost machine to encrypt a plaintext message using the secret key and totransmit the encrypted identifier message and the encrypted plaintextmessage to the second host machine.
 2. The system of claim 1, whereinthe auxiliary data is configured to allow a variable number of dataelements and a variable range of values for each data element, and thecombination of the number of data elements and range of data valuesproduce a variable range of entropy for the auxiliary data.
 3. Thesystem of claim 1, wherein the dynamic seed is based on a combination ofauxiliary data and sensor data only available to the first devicegenerating the secret key and the secret key is used by the first hostmachine to encrypt and decrypt data stored on the first host machine. 4.The system of claim 1, wherein the first device is removably coupled tothe first host machine.
 5. The system of claim 1 wherein the firstdevice is further configured to generate a message authentication codeof an identifier for the first host machine, or its associated device,using the secret key, and include this message authentication code inits encrypted identifier message.
 6. The system of claim 1 wherein thefirst host machine is configured to send the first device auxiliary dataused to generate the dynamic seed.
 7. A system for decrypting messagesreceived from the system of claim 1, the system comprising: a secondhost machine; a second device in communication with the second hostmachine, the second device configured to receive an encrypted identifiermessage from the second host machine, the encrypted identifier messagetransmitted by the first host machine to the second host machine,decrypt the encrypted identifier message using the static seed used bythe first host machine to obtain the auxiliary data, if present, derivethe secret key using the static seed and a dynamic seed, the dynamicseed created from sensor data or the auxiliary data, and transmit thesecret key to the second host machine to enable the second host machineto decrypt the plaintext message encrypted by the first host machineusing the secret key.
 8. The system of claim 7, wherein the seconddevice is removably coupled to the second host machine.
 9. The system ofclaim 7, wherein the static seed is identified by decrypting theencrypted identifier message with a plurality of static seeds to producea message matching the form of a decrypted identifier message.
 10. Thesystem of claim 7, wherein the second device is further configured toreceive an encrypted identifier message encrypted by the system of claim5, decrypt the encrypted identifier message using the static seed usedby the first host machine to obtain the auxiliary data, if present,identify a plurality of dynamic seeds using a plurality of values forsensor data combined with the auxiliary data, if present, and identify acorrect dynamic seed from the plurality of dynamic seeds that, wheninput with the static seed to a key generation function, produces a keythat generates a message authentication code that matches the messageauthentication code included in the encrypted identifier message.
 11. Asystem for generating symmetric cryptographic keys, the systemcomprising: a first host machine; and a first device in communicationwith the first host machine, the first device configured to receive amessage from the first host machine indicating an intent to communicatewith a second host machine and a plain text message to be encrypted,generate a secret key based on a static seed and a dynamic seed, thedynamic seed created from sensor data or auxiliary data, encrypt anidentifier for the first host machine, or its associated device, usingthe static seed, to generate an encrypted identifier message, encryptthe plaintext message using the secret key, and transmit the encryptedidentifier message and the encrypted plaintext message to the first hostmachine.
 12. The system of claim 11, wherein the auxiliary data isconfigured to allow a variable number of data elements and a variablerange of values for each data element, and the combination of the numberof data elements and range of data values produce a variable range ofentropy for the auxiliary data.
 13. The system of claim 11, wherein thedynamic seed is based on a combination of auxiliary data and sensor dataonly available to the first device generating the secret key and thesecret key is used by the first host machine to encrypt and decrypt datastored on the first host machine.
 14. The system of claim 11, whereinthe first device is removably coupled to the first host machine.
 15. Thesystem of claim 11, wherein the first device is further configured togenerate a message authentication code of an identifier for the firsthost machine, or its associated device, using the secret key, andinclude this message authentication code in its encrypted identifiermessage.
 16. The system of claim 11, wherein the first host machine isconfigured to send the first device auxiliary data used to generate thedynamic seed.
 17. A system for decrypting messages sent from the systemof claim 11, the system comprising: a second host machine; a seconddevice in communication with the second host machine, the second deviceconfigured to receive an encrypted identifier message from the secondhost machine, the encrypted identifier message transmitted by the firsthost machine to the second host machine, decrypt the encryptedidentifier message using the static seed used by the first host machineto obtain the auxiliary data, if present, derive the secret key usingthe static seed and a dynamic seed, the dynamic seed created from sensordata or the auxiliary data, decrypt the plaintext message using thesecret key, and transmit the plaintext message to the second hostmachine.
 18. The system of claim 17, wherein the second device isremovably coupled to the second host machine.
 19. The system of claim 17wherein the static seed is identified by decrypting the encryptedidentifier message with a plurality of static seeds to produce a messagematching the form of a decrypted identifier message.
 20. The system ofclaim 17 wherein the second device is further configured to receive anencrypted identifier message encrypted by the system of claim 15,decrypt the encrypted identifier message using the static seed used bythe first host machine to obtain the auxiliary data, if present,identify a plurality of dynamic seeds using a plurality of values forsensor data combined with the auxiliary data, if present, and identify acorrect dynamic seed from the plurality of dynamic seeds that, wheninput with the static seed to a key generation function, produces a keythat generates a message authentication code that matches the messageauthentication code included in the encrypted identifier message.